<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    .stacked-linear {
      width: 300px;
      height: 300px;
      background:
          linear-gradient(60deg, rgba(255, 0, 255, 1), rgba(255, 0, 255, 0) 50%),
          linear-gradient(120deg, rgba(255, 0, 0, 1), rgba(255, 0, 0, 0) 50%),
          linear-gradient(180deg, rgba(255, 255, 0, 1), rgba(255, 255, 0, 0) 50%),
          linear-gradient(240deg, rgba(0, 255, 0, 1), rgba(0, 255, 0, 0) 50%),
          linear-gradient(300deg, rgba(0, 255, 255, 1), rgba(0, 255, 255, 0) 50%),
          linear-gradient(360deg, rgba(0, 0, 255, 1), rgba(0, 0, 255, 0) 50%);
    }
  </style>
</head>
<body>
<div class="stacked-linear"></div>
</body>
</html>